package mobi.hami.huapin.dao;

import mobi.hami.huapin.daobase.CrudMapper;
import mobi.hami.huapin.model.NoteThumbUpLog;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface NoteThumbUpLogMapper extends CrudMapper<NoteThumbUpLog> {

    @Select("select * from note_thumbup_log where user_id = #{user_id} and note_long_id = #{note_long_id} LIMIT 1")
    NoteThumbUpLog findOneBy(@Param("user_id") Integer user_id,@Param("note_long_id") Integer note_long_id);

}
